package com.gitee.wsl.unit.power

import com.gitee.wsl.unit.BaseUnit

class PowerUnit( value:Long, type: PowerUnitType): BaseUnit<Long, PowerUnitType>(value, type) {

    override fun toBase(): Long {
        return value * type.baseUnit
    }

    override fun convertTo(desType: PowerUnitType): BaseUnit<Long, PowerUnitType> {
        TODO("Not yet implemented")
    }

}